package org.lsj.kit.model;

import java.util.Date;

public class Perm extends BaseModel {
    private Integer id;

    private Integer pid;

    private String url;

    private String name;

    private Date createTime;

    private Integer delFlag;

    public Perm(Integer id, Integer pid, String url, String name, Date createTime, Integer delFlag) {
        this.id = id;
        this.pid = pid;
        this.url = url;
        this.name = name;
        this.createTime = createTime;
        this.delFlag = delFlag;
    }

    public Perm() {
        super();
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getPid() {
        return pid;
    }

    public void setPid(Integer pid) {
        this.pid = pid;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url == null ? null : url.trim();
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name == null ? null : name.trim();
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(Integer delFlag) {
        this.delFlag = delFlag;
    }
}